package cn.exrick.sso.service;


import cn.exrick.common.pojo.Result;
import cn.exrick.manager.dto.front.MemberLoginRegist;

public interface RegisterService {

    /**
     * 校验用户名、邮箱、手机是否已被注册
     * @param param
     * @param type
     * @return
     */
    boolean checkData(String param, int type,Long memberId);

    /**
     * 注册
     * @param memberLoginRegist
     * @return
     */
    Result<Object> register(MemberLoginRegist memberLoginRegist);
}
